package com.gss.plugin.monitor.entity;

/**
 * @author: DYang
 * @since: 2023/8/17
 * @description: api监测项
 */
public enum ApiMetric {
    QPS("qps","每秒请求数"),
    RESPONSE_TIME("response_time","请求响应时间"),
    RESPONSE_STATUS("response_status","请求状态码"),

    ;

    private final String metric;
    private final String desc;

    ApiMetric(String metric, String desc) {
        this.metric = metric;
        this.desc = desc;
    }

    public String getMetric() {
        return metric;
    }

    public String getDesc() {
        return desc;
    }
}
